﻿namespace WizardEngine.Core.Specification
{
    using System;
    using System.Runtime.Serialization;

    /// <summary>
    /// Represents missing flow instance state error. 
    /// </summary>
    [Serializable]
    public class CannotCreateMoreThanOneInitialStep : Exception
    {
        public CannotCreateMoreThanOneInitialStep() : base() { }
        public CannotCreateMoreThanOneInitialStep(string message) : base(message) { }
        public CannotCreateMoreThanOneInitialStep(string message, Exception innerException) : base(message, innerException) { }
        public CannotCreateMoreThanOneInitialStep(SerializationInfo info, StreamingContext context) : base(info, context) { }
    }
}
